package com.weixing.mall.provider.model.query;

import com.weixing.mall.base.constant.DatePattern;
import com.weixing.mall.provider.api.model.enums.OrderTypeEnum;
import com.weixing.mall.provider.model.enums.OrderStateEnum;
import com.weixing.mall.provider.model.enums.SealMatchRuleEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Author wx
 * @Date 2019/10/31 15:27
 * @Version 1.0
 */
@Data
public class GoodsIdentificationQuery {
    @ApiModelProperty(value = "状态")
    private OrderStateEnum status;
    @ApiModelProperty(value = "发货员")
    private Long shipperId;
    @ApiModelProperty(value = "客服")
    private Long customerId;
    /**
     * 订单编号和款号为二期新增查询
     */
    @ApiModelProperty(value = "订单编号")
    private String orderSn;
    @ApiModelProperty(value = "款号")
    private String styleNo;
    @ApiModelProperty(value = "开始时间")
    private String startTime;
    @ApiModelProperty(value = "结束时间")
    private String endTime;
    @ApiModelProperty(value = "客户信息")
    private String userInformation;
    @ApiModelProperty(value = "手机号")
    private String contactPhone;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "订单信息")
    private String orderInformation;
    @ApiModelProperty(value = "快递单号")
    private String expressSn;
    @ApiModelProperty(value = "最低价")
    private Double minPrice;
    @ApiModelProperty(value = "最高价")
    private Double maxPrice;
    @ApiModelProperty(value = "订单来源")
    private Integer orderFrom;
    @ApiModelProperty(value = "审核开始日期")
    @DateTimeFormat(pattern= DatePattern.NORM_DATETIME_PATTERN)
    private String auditStartTime;
    @ApiModelProperty(value = "审核结束日期")
    @DateTimeFormat(pattern= DatePattern.NORM_DATETIME_PATTERN)
    private String auditEndTime;
    @ApiModelProperty(value = "活动Id")
    private Long actId;
    @ApiModelProperty(value = "订单类型")
    private OrderTypeEnum orderType;
    /**
     * 订单匹配结果规则  精准  或 模糊
     */
    private SealMatchRuleEnum mateRule;
    /**
     * 是否换货    1  是   0 不是
     */
    @ApiModelProperty(value = "是否换货")
    private Integer afterSaleTag;

    @ApiModelProperty(value = "所属仓库")
    private Long depotId;
    @ApiModelProperty(value = "库存编码")
    private String  stockSn;
}
